<template>
  <div @click="testEve">测试组件{{ data }}</div>
</template>

<script>
export default {
  props: ["data"],
  methods: {
    testEve() {
      this.$emit('testEve','组件回参' + this.data)
    }
  }
};
</script>

<style>
</style>